<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>详情页</title>
    <link type="text/css" rel="stylesheet" href="./详细页/css/base.css" />
    <link type="text/css" rel="stylesheet" href="./详细页/css/top.css">
    <link type="text/css" rel="stylesheet" href="./详细页/css/left.css">
</head>
<body>
<div id="cont">
    <div id="banner">
        <ul>
            <li id="banner_a" style="font-size: 60px;padding-top: 100px;">非常日记</li>
            <li id="banner_b" style="padding-left: 170px;">一个有灵魂的博客</li>
        </ul>
    </div>
    <div id="top">
        <ul>
            <li><a  href="index.php?s=admin/ago/ago_list">分类页</a></li>
            <li><a id="top_a" href="index.php?s=admin/ago/article_list">首页</a></li>
            <?php foreach($articleList as $row): ?>
                <li><a href="index.php?s=admin/ago/article_list/article_id/<?php echo $row['article_id']?>"><?php echo  $row['article_title'] ?></a></li>
            <?php endforeach; ?>

        </ul>
    </div>
    <div id="left">
        <ul>
            <?php foreach($result as $item) : ?>
                <li  id="left_a"><span style="font-size: 30px;"><?php echo $item['article_title'] ?></span>
                <!--时间-->
                    <?php echo date("Y-m-d H:i:s",$item['add_time']) ?> </li>
                <li class=""><?php echo $item['content'] ?></li>
            <?php endforeach ; ?>

        </ul>
    </div>
    <div id="fo">
        <span id="fo_a" >copyright @ 2021 非常日记</span>
    </div>
</div>
</body>
</html>
